package com.san.school.mapper;

import com.san.school.entity.Clazz;
import com.san.school.entity.ClazzExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:ClazzMapper
 * PackageName:com.san.school.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/6 18:07
 */


public interface ClazzMapper {
    long countByExample(ClazzExample example);

    int deleteByExample(ClazzExample example);

    int deleteByPrimaryKey(Integer cid);

    int insert(Clazz record);

    int insertSelective(Clazz record);

    List<Clazz> selectByExample(ClazzExample example);

    Clazz selectByPrimaryKey(Integer cid);

    int updateByExampleSelective(@Param("record") Clazz record, @Param("example") ClazzExample example);

    int updateByExample(@Param("record") Clazz record, @Param("example") ClazzExample example);

    int updateByPrimaryKeySelective(Clazz record);

    int updateByPrimaryKey(Clazz record);
}